package cc.rengu.igas.bomp.common.dao;

import cc.rengu.igas.bomp.common.entity.FeeRule;

import java.util.List;

/**
 * 手续费规则配置表操作接口类
 * Created by 王成 on 2018/10/10.
 */
public interface FeeRuleMapper {
    /**
     * 根据手续费规则代码查询手续费规则信息
     *
     * @param feeRuleCode 规则代码
     * @return 手续费规则信息
     * @throws Exception
     */
    List<FeeRule> selectFeeRuleByFeeRuleCode(String feeRuleCode) throws Exception;

    /**
     * 根据费率状态查询手续费规则信息
     *
     * @param status 费率状态
     * @return
     * @throws Exception
     */
    List<FeeRule> selectFeeRuleByStatus(String status, String startDate, String endDate) throws Exception;
}
